package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author GaoYiJie
 * @Description
 * @Create 2025/2/27 10:48
 * @Version 1.0
 */
@Service
@FeignClient(value = "server-day0227-user",fallback = IUserServiceImpl.class)
public interface IUserService {

    @PostMapping("/user/user/getUserById/{userId}")
    public R getUserById(@PathVariable("userId") Integer userId);
}
